#ifndef RESOURCECONTROLLER_H
#define RESOURCECONTROLLER_H

#include <QMap>
#include "ResourceDef.h"

class ResourceBase;

class ResourceController
{
public:
    ResourceController();
    static ResourceController* inst();

    float getStartMoney();
    RateTable calculateRate(float);
    QMap<IncomeItem,QString> getIncomingItem();
    QMap<OutgointItem,QString> getOutgointItem();

private:
    static ResourceController* m_inst;
    ResourceBase *m_resource;
};

#endif // RESOURCECONTROLLER_H
